<template>
  <div class="comp-programme-case-wrapper">
    <h4>{{ proInsuranceInfo.caseH4 }}</h4>
    <p>
      {{ proInsuranceInfo.caseP1 }}
    </p>
    <p style="padding-bottom: 20px">
      {{ proInsuranceInfo.caseP2 }}
    </p>
    <ul>
      <li v-for="(item, index) in caseList" :key="index">
        <p>
          <img :src="item.listImg" alt="" />
        </p>
        <span>{{ item.listSpan }}</span>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  name: "ProCase",
  props: {
    proInsuranceInfo: {
      type: Object,
      default: {},
    },
    caseList: {
      type: Array,
      default: [],
    },
  },
};
</script>
<style scoped lang="less">
.comp-programme-case-wrapper {
  overflow: hidden;
  h4 {
    font-size: 34px;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 20px;
  }
  p {
    font-size: 16px;
  }
  ul {
    width: 1350px;
    margin: 0 auto;
    li {
      width: 230px;
      background: #f4f8fb;
      border-radius: 35px;
      float: left;
      margin-left: 78px;
      height: 69px;
      padding-left: 10px;
      background: #f4f8fb;
      border-radius: 35px;
      padding-top: 7px;
      margin-bottom: 34px;
      display: flex;
      span {
        flex: 1;
        margin-left: 15px;
        text-align: left;
        font-size: 14px;
        font-weight: 400;
        color: #231815;
        line-height: 69px;
      }
    }
  }
}
</style>